﻿using System.Runtime.InteropServices;

namespace Storm.TextEditor.Win32.Structs
{
	[StructLayout(LayoutKind.Sequential)]
	public struct GDITextMetric
	{
		public int tmMemoryHeight;
		public int tmAscent;
		public int tmDescent;
		public int tmInternalLeading;
		public int tmExternalLeading;
		public int tmAveCharWidth;
		public int tmMaxCharWidth;
		public int tmWeight;
		public int tmOverhang;
		public int tmDigitizedAspectX;
		public int tmDigitizedAspectY;

		public byte tmFirstChar;
		public byte tmLastChar;
		public byte tmDefaultChar;
		public byte tmBreakChar;
		public byte tmItalic;
		public byte tmUnderlined;
		public byte tmStruckOut;
		public byte tmPitchAndFamily;
		public byte tmCharSet;
	}
}
